import React, { Component } from 'react'
import { connect } from 'react-redux'
import { Layout } from 'antd';
const {  Content } = Layout;

import Header from './Header'
import "./App.css"

class App extends Component {
 render() {
    return (
        <Layout>
            <Header />
            <Content style={{ margin: '0 16px',padding:"20px" }}>
              <div id="app"> 
                {this.props.children}
              </div>
            </Content>
        </Layout>
    )
  }
}

export default connect()(App)
